all: server client

server: udp_server.c
	gcc -Wall `sdl-config --cflags` udp_server.c -o server.exe `sdl-config --libs` -lSDL_net
	
client: udp_client.c
	gcc -Wall `sdl-config --cflags` udp_client.c -o client.exe `sdl-config --libs` -lSDL_net
	
clean:
	rm -f server.exe client.exe
